<?php
class News extends Public_Controller
{
    /**
     * Constructor
     */
    function News()
    {
        parent::Public_Controller();
        $this->load->model('public_model');
        log_message('debug','BackendPro : Auth class loaded');
    }

    function index()
    {
        $data['news_list']= $this->public_model->get_article_list(3);
        $data['page'] = $this->config->item('backendpro_template_public') . 'newslist';
        $data['module'] = 'news';
        $this->load->view($this->_container,$data);
    }
}
/* End of file auth.php */
/* Location: ./modules/auth/controllers/auth.php */